net/http.http2ClientConn.streams (field)
18 uses
net/http (current package)
h2_bundle.go#L7725: streams map[uint32]*http2clientStream // client-initiated
h2_bundle.go#L8187: streams: make(map[uint32]*http2clientStream),
h2_bundle.go#L8305: for streamID, cs := range cc.streams {
h2_bundle.go#L8396: StreamsActive: len(cc.streams) + cc.pendingResets,
h2_bundle.go#L8481: return len(cc.streams) + cc.streamsReserved + cc.pendingResets
h2_bundle.go#L8538: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L8557: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L8574: if len(cc.streams) == 0 || cc.closed {
h2_bundle.go#L8656: for _, cs := range cc.streams {
h2_bundle.go#L9499: cc.streams[cs.ID] = cs
h2_bundle.go#L9507: slen := len(cc.streams)
h2_bundle.go#L9508: delete(cc.streams, id)
h2_bundle.go#L9509: if len(cc.streams) != slen-1 {
h2_bundle.go#L9513: if len(cc.streams) == 0 && cc.idleTimer != nil {
h2_bundle.go#L9522: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
h2_bundle.go#L9618: for _, cs := range cc.streams {
h2_bundle.go#L10248: cs := rl.cc.streams[id]
h2_bundle.go#L10821: ci.WasIdle = len(cc.streams) == 0 && reused
![]() |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |